﻿package server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Date;

public interface ResWaiterInterface extends Remote{
	public int searchEmptyTable(int a)throws RemoteException;

	public double TolHp(int []a) throws RemoteException;
	public double TolAmount(int []a) throws RemoteException;

	public int searchWaiter()throws RemoteException;
	
	public int RecordBook(int workNum,int pNum,String name,String phone,Date date)throws RemoteException;
	
	public void addTable(int size) throws RemoteException;
}
